﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="Usuarios.aspx.cs" Inherits="ProyectoCine.AreaPrivada.Usuarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style7
        {
            width: 113px;
        }
        .style13
    {
        width: 124px;
    }
    .style14
    {
        width: 229px;
    }
        </style>

</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
    <asp:Panel ID="Panel1" runat="server" GroupingText="Buscar Usuarios" Height="500px" 
        Font-Bold="True" ForeColor="Red" Width="762px">
        <table>
        <tr>
            <td>

                <asp:Label ID="lblRol" runat="server" Font-Bold="True" ForeColor="Red" 
                    Text="Rol"></asp:Label>
            </td>
            <td>

                <asp:DropDownList ID="ddlRol" runat="server" AutoPostBack="True">
                </asp:DropDownList>

            </td>
        </tr>
        <tr>
            <td class="style13">
                <asp:Label ID="lblNombre" runat="server" Font-Bold="True" ForeColor="Red" 
                    Text="User Name"></asp:Label>
            </td>
            <td class="style14">
                <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                
            </td>
        </tr>
        <tr>
            <td>
                
                <asp:Label ID="Label4" runat="server" Text="Apellido"></asp:Label>
                
            </td>
            <td>
                
                <asp:TextBox ID="txtApellido" runat="server"></asp:TextBox>
                
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnBuscar" runat="server" Text="Buscar" 
                    onclick="btnBuscar_Click" />
            </td>
        </tr>
        

    </table>

    <asp:GridView ID="gvUsuarios" runat="server" AutoGenerateColumns="False" 
            BackColor="#DEBA84" 
            onselectedindexchanged="gvCine_SelectedIndexChanged" BorderColor="#DEBA84" 
            BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
            AllowPaging="True" AllowSorting="True" 
            onpageindexchanging="gvUsuarios_PageIndexChanging" 
            onsorting="gvUsuarios_Sorting" Width="646px">
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:BoundField DataField="userName" HeaderText="User Name" 
                SortExpression="userName" />
            <asp:BoundField DataField="nombre" HeaderText="Nombre" 
                SortExpression="nombre" />
            <asp:BoundField DataField="apellido" HeaderText="Apellido" 
                SortExpression="apellido" />
            <asp:BoundField DataField="password" HeaderText="Password" 
                SortExpression="password" />
            <asp:BoundField DataField="nombre1" HeaderText="Rol" SortExpression="nombre1" />
            <asp:BoundField DataField="dni" HeaderText="Dni" SortExpression="dni" />
            <asp:BoundField DataField="email" HeaderText="e-mail" SortExpression="email" />
        </Columns>
        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FFF1D4" />
        <SortedAscendingHeaderStyle BackColor="#B95C30" />
        <SortedDescendingCellStyle BackColor="#F1E5CE" />
        <SortedDescendingHeaderStyle BackColor="#93451F" />
    </asp:GridView>
        
    </asp:Panel>
</asp:Content>
